package com.example.lib_cache.model;

import androidx.databinding.Bindable;

import java.util.Date;

public class Navigation {
    private Long navigationId;

    private Long publishingUser;

    private String sName;

    private String eName;

    private Integer distance;

    private Integer duratino;

    private String city;

    private Double startLongitude;

    private Double startLatitude;

    private Double endLongitude;

    private Double endLatitude;

    private Double sLogitude;

    private Double sLatitude;

    private Double eLogitude;

    private Double eLatitude;

    private Date publishingTime;

    private Integer status;

    public Navigation(Long navigationId, Long publishingUser, String sName, String eName, Integer distance, Integer duratino, String city, Double startLongitude, Double startLatitude, Double endLongitude, Double endLatitude, Double sLogitude, Double sLatitude, Double eLogitude, Double eLatitude, Date publishingTime, Integer status) {
        this.navigationId = navigationId;
        this.publishingUser = publishingUser;
        this.sName = sName;
        this.eName = eName;
        this.distance = distance;
        this.duratino = duratino;
        this.city = city;
        this.startLongitude = startLongitude;
        this.startLatitude = startLatitude;
        this.endLongitude = endLongitude;
        this.endLatitude = endLatitude;
        this.sLogitude = sLogitude;
        this.sLatitude = sLatitude;
        this.eLogitude = eLogitude;
        this.eLatitude = eLatitude;
        this.publishingTime = publishingTime;
        this.status = status;
    }

    public Navigation() {
        super();
    }


    public Long getNavigationId() {
        return navigationId;
    }

    public void setNavigationId(Long navigationId) {
        this.navigationId = navigationId;
    }

    public Long getPublishingUser() {
        return publishingUser;
    }

    public void setPublishingUser(Long publishingUser) {
        this.publishingUser = publishingUser;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName == null ? null : sName.trim();
    }

    public String geteName() {
        return eName;
    }

    public void seteName(String eName) {
        this.eName = eName == null ? null : eName.trim();
    }

    public Integer getDistance() {
        return distance;
    }

    public void setDistance(Integer distance) {
        this.distance = distance;
    }

    public Integer getDuratino() {
        return duratino;
    }

    public void setDuratino(Integer duratino) {
        this.duratino = duratino;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public Double getStartLongitude() {
        return startLongitude;
    }

    public void setStartLongitude(Double startLongitude) {
        this.startLongitude = startLongitude;
    }

    public Double getStartLatitude() {
        return startLatitude;
    }

    public void setStartLatitude(Double startLatitude) {
        this.startLatitude = startLatitude;
    }

    public Double getEndLongitude() {
        return endLongitude;
    }

    public void setEndLongitude(Double endLongitude) {
        this.endLongitude = endLongitude;
    }

    public Double getEndLatitude() {
        return endLatitude;
    }

    public void setEndLatitude(Double endLatitude) {
        this.endLatitude = endLatitude;
    }

    public Double getsLogitude() {
        return sLogitude;
    }

    public void setsLogitude(Double sLogitude) {
        this.sLogitude = sLogitude;
    }

    public Double getsLatitude() {
        return sLatitude;
    }

    public void setsLatitude(Double sLatitude) {
        this.sLatitude = sLatitude;
    }

    public Double geteLogitude() {
        return eLogitude;
    }

    public void seteLogitude(Double eLogitude) {
        this.eLogitude = eLogitude;
    }

    public Double geteLatitude() {
        return eLatitude;
    }

    public void seteLatitude(Double eLatitude) {
        this.eLatitude = eLatitude;
    }

    public Date getPublishingTime() {
        return publishingTime;
    }

    public void setPublishingTime(Date publishingTime) {
        this.publishingTime = publishingTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
